interface Colorful {
  color: string
}

interface Circle {
  readius:number
}

type ColorCircle2 = Colorful & Circle

const cc2:ColorCircle2 = {
  color:'red',
  readius:100
}

function draw(circle:Colorful & Circle){
  console.log(circle.color);
  console.log(circle.readius);
}

draw({color:'red',readius:100})
draw({color:'green',readius:100})